//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package messages;

import common.ByteStream;

public class VerifyBillingReceipt extends Base {
    public static final int MsgType = 19999;
    private String ReceiptData;
    private String[] LocalPrice;
    private String none = "";
    private String openUDID;
    private String macAddress;
    private String device;
    private String UDID;

    VerifyBillingReceipt(String ReceiptData, String[] LocalPrice, String openUDID, String macAddress, String device, String UDID) {
        super(19999);
        this.ReceiptData = ReceiptData;
        this.LocalPrice = LocalPrice;
        this.openUDID = openUDID;
        this.macAddress = macAddress;
        this.device = device;
        this.UDID = UDID;
    }

    public void encode(ByteStream stream) {
        stream.writeInt(0);
        stream.writeString(this.ReceiptData);
        stream.writeString(this.LocalPrice[0]);
        stream.writeString(this.LocalPrice[1]);
        stream.writeString(this.none);
        stream.writeString(this.openUDID);
        stream.writeString(this.macAddress);
        stream.writeString(this.device);
        stream.writeString(this.UDID);
    }

    public void decode(ByteStream stream) {
    }

    public String toString() {
        return "VerifyBillingReceiptMessage";
    }
}
